package cc.rengu.igas.channel.alipay.common.constant;

/**
 * 应用公共常量类
 */
public class AlipayParamConstant {
    public static final String IGAS_SYS_ID = "IGAS";

    /* 通道ID */
    public static final String TUNL_ID_ALIP = "ALIP";
    public static final String TUNL_ID_CUPSALIP = "UPAL";//银联支付宝
    public static final String TUNL_ID_NUCCALIP = "NUAL";//网联支付宝
    public static String SIGN_CERT_TYPE = "CE10";
    public static String ENCRYPT_CERT_TYPE = "CE01";
    public static String VERIFY_CERT_TYPE = "CD00";
    public static String DECRYPT_CERT_TYPE = "CD11";
    /* 默认发卡机构标识 */
    public static final String DEFAULT_ISSUER_CODE = "00000000";
    /* 默认失效日期 */
    public static final String DEFAULT_EXPIRY_DATE = "29991231";
    /* 默认字符串分隔符 */
    public static final String DEFAULT_DELIMITER = ",";
    /* 默认0 */
    public static final String STRING_DEFAULT_ZERO = "0";
    /* 默认1 */
    public static final String STRING_DEFAULT_ONE = "1";
    /* SUCCESS */
    public static final String STRING_SUCCESS = "SUCCESS";
    /* AILPAY_SUCCESS_CODE */
    public static final String AILPAY_SUCCESS_CODE = "10000";
    /* EPCC_SUCCESS_CODE */
    public static final String EPCC_SUCCESS_CODE = "00000000";
    /* UPAC_SUCCESS_CODE */
    public static final String UPAC_SUCCESS_CODE = "00";
    /*返回订单列表最大条数*/
    public static final int MAX_ORDER_LIST_NUM = 5;
    /* NCQS_SUCCESS_CODE */
    public static final String NCQS_SUCCESS_CODE = "00000000";
    /* 接收方超时 */
    public static final String NCQS_TIME_OUT_CODE = "ES000033";
    /* 连接故障 */
    public static final String NCQS_CONNECT_ERROR_CODE = "ES000032";

    /* XML树默认节点 */
    public static final String XML_ROOT_NAME = "radp";

    /* 默认流水号前缀 */
    public static final String PREFIX_SEQ_STRING = "TRACE";

    /*版本号*/
    public static final String VERSION = "1.0.0";

    /* 商户服务参数类型 */
    /* 商户推送开关标识 */
    public static final String MCHNT_PUSH_MSG_FLAG = "MCHNT_PUSH_MSG_FLAG";
    /* 交易推送总开关 */
    public static final String MSG_PUSH_FLAG = "MSG_PUSH_FLAG";
    /* 交易推送开关标识 */
    public static final String TXN_PUSH_LIST_PARAM = "TXN_PUSH_LIST_PARAM";
    /* 交易推送类型模式 */
    public static final String TXN_TYPE_PUSH_PARAM = "TXN_TYPE_PUSH_PARAM";
    /* 银行机构 */
    public static final String ISS_INST_CODE = "ISS_INST_CODE";
    /* 网联消息类型 */
    public static final String EPCC_IN_MSG_TP = "EPCC_IN_MSG_TP";
    /* 网联消息类型 */
    public static final String EPCC_OUT_MSG_TP = "EPCC_OUT_MSG_TP";
    /*网联idc列表缓存*/
    public static final String NUCC_IDC_CAC = "NUCC_IDC_CAC";
    /*网联流水号控制位列表缓存*/
    public static final String EPCC_CTRL_NB_CAC = "EPCC_CTRL_NB_CAC";

    /* 短信验证码有效时间 */
    public static final int DEFAULT_EFFECTIVE_TIME = 300;
    /* 短信验证码默认最大验证次数 */
    public static final int DEFAULT_VERIFY_TIME = 3;
    /* 支付有效时间 -5分钟*/
    public static final int DEFAULT_PAYMENT_VALID_TIME = 300;

    /* 手续费字段 */
    public static final String FEE_JSON_KEY = "fee";
    public static final String LADDER_JSON_KEY = "ladder";
    public static final String TRANS_MAX_JSON_KEY = "transMax";
    public static final String TRANS_AMT_JSON_KEY = "transAmt";
    public static final String TOTAL_AMT_JSON_KEY = "totalAmt";
    /* 转接通道标识 */
    public static final String ALIPAY_CHANNEL_FALG = "aliPayTunlFlag";

    /*cups参数*/
    public static final String CUPS_PARAM_TYPE = "CUPS_PARAM";
    /*cups清算日期参数*/
    public static final String CUPS_SETTLE_DATE_PARAM_TYPE = "CUPS_SETTLE_DATE";
    /* 证书缓存 */
    public static final String CERT_KEY_CACHE = "CERT_KEY_CACHE";
}
